home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 1812 / 1812.xpi / chrome / colt.jar / content / custom_format.xul < prev    next >
Extensible Markup Language  |  2009-08-13  |  3KB  |  102 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  4. <?xml-stylesheet href="chrome://mozapps/skin/pref/pref.css" type="text/css"?>
  5. <?xml-stylesheet href="chrome://colt/content/options.css" type="text/css"?>
  6.  
  7. <!DOCTYPE dialog SYSTEM "chrome://colt/locale/colt.dtd" >
  8.  
  9. <dialog id="CLT-Custom-Format"
  10.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.         buttons="accept, cancel"
  12.         orient="vertical"
  13.         ondialogaccept="return objCoLTCustomFormat.SaveCustomFormat()"
  14.         ondialogcancel="objCoLTCustomFormat.ClearCustomFormat()"
  15.         onload="objCoLTCustomFormat.InitCustomFormat()">
  16.  
  17.     <script type="application/x-javascript" src="chrome://colt/content/colt.js" />
  18.     <script type="application/x-javascript" src="chrome://colt/content/options.js" />
  19.     <script type="application/x-javascript" src="chrome://colt/content/custom_format.js" />
  20.     
  21.     <stringbundleset id="stringbundleset">
  22.         <stringbundle id="CLT-String-Bundle" src="chrome://colt/locale/colt.properties"/>
  23.     </stringbundleset>
  24.  
  25.     <grid>
  26.         <columns>
  27.             <column />
  28.             <column flex="1" />
  29.         </columns>
  30.         
  31.         <rows>
  32.             <row align="center">
  33.                 <label value="&colt.options.header.label;" />
  34.                 <textbox id="CLT-Custom-Format-Label" />
  35.             </row>
  36.             <row align="center">
  37.                 <label value="&colt.options.header.format;" />
  38.                 <textbox id="CLT-Custom-Format-Format" />
  39.             </row>
  40.             <checkbox id="CLT-Custom-Format-RichText" label="&colt.options.checkbox.userichtext;" oncommand="objCoLTCustomFormat.UpdateCustomFormatControls()" />
  41.         </rows>
  42.     </grid>
  43.  
  44.     <separator class="groove" />
  45.     
  46.     <description>
  47.     &colt.options.variable.description;
  48.     </description>
  49.     
  50.     <listbox id="CLT-Variable-List">
  51.         <listhead>
  52.             <listheader label="&colt.options.header.variable;" />
  53.             <listheader label="&colt.options.header.linkcontext;" />
  54.             <listheader label="&colt.options.header.pagecontext;" />
  55.         </listhead>
  56.         
  57.         <listcols>
  58.             <listcol />
  59.             <listcol flex="1" />
  60.             <listcol flex="1" />
  61.         </listcols>
  62.         
  63.         <listitem>
  64.             <listcell label="%T" />
  65.             <listcell label="&colt.variable.desc.linktext;" />
  66.             <listcell label="&colt.variable.desc.pagetitle;" />
  67.         </listitem>
  68.         
  69.         <listitem>
  70.             <listcell label="%U" />
  71.             <listcell label="&colt.variable.desc.linkurl;" />
  72.             <listcell label="&colt.variable.desc.pageurl;" />
  73.         </listitem>
  74.         
  75.         <listitem>
  76.             <listcell label="%I" />
  77.             <listcell label="&colt.variable.desc.linktitle;" />
  78.             <listcell label="---" />
  79.         </listitem>
  80.         
  81.         <listitem>
  82.             <listcell label="%P" />
  83.             <listcell label="&colt.variable.desc.pagetitle;" />
  84.             <listcell label="---" />
  85.         </listitem>
  86.         
  87.         <listitem>
  88.             <listcell label="%R" />
  89.             <listcell label="&colt.variable.desc.pageurl;" />
  90.             <listcell label="---" />
  91.         </listitem>
  92.         
  93.         <listitem>
  94.             <listcell label="%N" />
  95.             <listcell label="&colt.variable.desc.newline;" />
  96.             <listcell label="&colt.variable.desc.newline;" />
  97.         </listitem>
  98.     </listbox>
  99.     
  100.     <label id="CLT-CustomFormat-Link" value="&colt.link.customformatinfo;" onclick="objCoLTCustomFormat.OnCustomFormatLink();" />
  101. </dialog>
  102.